{extend name="base/base-order-layout"/}

{block name="breadcrumb"}
<a>商家管理中心</a>
<a>订单管理</a>
<a>交易订单</a>
{/block}

{block name="main"}
<div class="search-wrap">
    <form action="" class="layui-form">
        <ul>
            <li>
                <div class="layui-form-item">
                    <label class="layui-form-label">订单号：</label>
                    <div class="layui-input-block">
                        <input type="text" name="orderno" required  lay-verify="required" placeholder="请输入订单号" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </li>
            <li>
                <div class="layui-form-item">
                    <label class="layui-form-label">收货人姓名：</label>
                    <div class="layui-input-block">
                        <input type="text" name="consignee" required  lay-verify="required" placeholder="请输入收货人姓名" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </li>
            <li>
                <div class="layui-form-item">
                    <label class="layui-form-label">商品名称：</label>
                    <div class="layui-input-block">
                        <input type="text" name="goodsnme" required  lay-verify="required" placeholder="请输入商品名称" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </li>
            <li>
                <div class="layui-form-item">
                    <label class="layui-form-label">运单号：</label>
                    <div class="layui-input-block">
                        <input type="text" name="billno" required  lay-verify="required" placeholder="请输入运单号" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </li>
            <li>
                <div class="layui-form-item">
                    <label class="layui-form-label">收货人电话：</label>
                    <div class="layui-input-block">
                        <input type="text" name="consignee_phone" required  lay-verify="required" placeholder="请输入收货人电话" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </li>
            <li class="date">
                <div class="layui-form-item">
                    <label class="layui-form-label">支付时间：</label>
                    <div class="layui-inline">
                        <input type="text" name="date1" class="layui-input date-item" placeholder="yyyy-MM-dd">
                    </div>
                    <span style="margin-right: 10px;">-</span>
                    <div class="layui-inline">
                        <input type="text" name="date2" class="layui-input date-item" placeholder="yyyy-MM-dd">
                    </div>
                    <div class="layui-inline">
                        <a href="">近7天</a>
                        <a href="">近30天</a>
                        <a href="">清除</a>
                    </div>
                </div>
            </li>
        </ul>
        <div class="layui-btn-container">
            <button class="layui-btn layui-bg-red" lay-submit><i class="layui-icon">&#xe615;</i>查询</button>
            <button class="layui-btn">订单导出</button>
            <button class="layui-btn">订单受理</button>
            <button class="layui-btn">订单发货</button>
        </div>
        <h5>提示：订单导出目前最多支持2000条，如果超出请调整查询条件</h5>
    </form>
</div>
<div class="goodlist">
    <div class="menu-bar">
        <ul>
            <li {eq name="status" value="" }class="active"{/eq}><a href="{:think\\Url::build('index')}">订单列表</a></li>
            <li {eq name="status" value="1" }class="active"{/eq}><a href="{:think\\Url::build('index','status=1')}">待付款</a></li>
            <li {eq name="status" value="2" }class="active"{/eq}><a href="{:think\\Url::build('index','status=2')}">待发货</a></li>
            <li {eq name="status" value="3" }class="active"{/eq}><a href="{:think\\Url::build('index','status=3')}">已发货</a></li>
            <li {eq name="status" value="4" }class="active"{/eq}><a href="{:think\\Url::build('index','status=4')}">已完成确认收货</a></li>
            <li {eq name="status" value="5" }class="active"{/eq}><a href="{:think\\Url::build('index','status=5')}">已取消</a></li>
        </ul>
    </div>
    <div class="table-wrap">
        <form class="layui-form" lay-verType="alert" id="form" method="post">
            <table class="table-list-style" width="100%" cellspacing="0" cellpadding="0">
                <tbody>
                <tr>
                    <th width="600">商品</th>
                    <th width="100">单价（元）</th>
                    <th width="80">数量</th>
                    <th width="400">买家信息</th>
                    <th width="600">物流信息</th>
                    <th width="200">订单金额</th>
                    <th width="230">交易状态</th>
                    <th width="220">交易操作</th>
                </tr>

                <td colspan="99" class="hd tl">
                    <span>订单编号：13201801177782285</span>
                    <span>下单时间：2018-01-17&nbsp;14:06:26</span>
                    {in name="status" value="2,3,4"}
                    <span>付款时间：2018-01-17 18:06:26</span>
                    {/in}
                </td>
                <tr>
                    <td>
                        <dl class="fn-clear">
                            <dt><a target="_blank" href="index.php?m=goods&amp;s=detail&amp;id=503"><img src="http://www.jiushouguoji.hk/uploadfile/goods/8/2016/07/13/1468398767.jpg_60X60.jpg"></a></dt>
                            <dd><a target="_blank" href="index.php?m=goods&amp;s=detail&amp;id=503">【两罐装】保税区发货 港版美赞臣 Meadjohson 奶粉2段 900g（6-12个月）</a></dd>
                        </dl>
                        <p class="build">生产日期: <span>2017-05-12</span></p>
                    </td>
                    <td>
                        456.00                                            </td>
                    <td>1</td>
                    <td class="buyer_name br" rowspan="1">
                        <p><i class="iconfont icon-icon-user"></i>陈明</p>
                        <p><i class="iconfont icon-dianhua"></i>18570371117</p>
                        <p><i class="iconfont icon-Id"></i>449876518570371117</p>
                        <p><i class="iconfont icon-dizhi"></i>江门市甘化路176号之一首层。</p>
                    </td>
                    <td class="transport br" rowspan="1">
                        <p><span>公司名称：</span>圆通速递</p>
                        <p><span>运单号：</span>1547895426666</p>
                    </td>
                    <td class="count br" rowspan="1">
                        <p>456.00</p>
                        <p class="red">实收：0.00</p>
                        <p title=""></p>
                        <p>（免运费）</p>
                        <p class="red"></p>
                    </td>
                    <td class="status br" rowspan="1">
                        <p>{$text}</p>
                        <a href="{:think\\Url::build('detail')}">订单详情</a>
                    </td>
                    <td class="operate" rowspan="1">
                        {in name="status" value="1,2"}
                        <span>
                                           <a href="seller.php?m=order&amp;op=delivery&amp;order_id=13201801159492284"><i class="iconfont icon-daifahuo"></i>发货</a>
                                        </span>
                        {/in}
                    </td>
                </tr>
                <td colspan="99" class="hd tl">
                    <span>订单编号：13201801177782285</span>
                    <span>下单时间：2018-01-17&nbsp;14:06:26</span>
                    {in name="status" value="2,3,4"}
                    <span>付款时间：2018-01-17 18:06:26</span>
                    {/in}
                </td>
                <tr>
                    <td>
                        <dl class="fn-clear">
                            <dt><a target="_blank" href="index.php?m=goods&amp;s=detail&amp;id=503"><img src="http://www.jiushouguoji.hk/uploadfile/goods/8/2016/07/13/1468398767.jpg_60X60.jpg"></a></dt>
                            <dd><a target="_blank" href="index.php?m=goods&amp;s=detail&amp;id=503">【两罐装】保税区发货 港版美赞臣 Meadjohson 奶粉2段 900g（6-12个月）</a></dd>
                        </dl>
                        <p class="build">生产日期: <span>2017-05-12</span></p>
                    </td>
                    <td>
                        456.00                                            </td>
                    <td>1</td>
                    <td rowspan="2" class="buyer_name br" rowspan="1">
                        <p><i class="iconfont icon-icon-user"></i>陈明</p>
                        <p><i class="iconfont icon-dianhua"></i>18570371117</p>
                        <p><i class="iconfont icon-Id"></i>449876518570371117</p>
                        <p><i class="iconfont icon-dizhi"></i>江门市甘化路176号之一首层。</p>
                    </td>
                    <td rowspan="2" class="transport br" rowspan="1">
                        <p><span>公司名称：</span>圆通速递</p>
                        <p><span>运单号：</span>1547895426666</p>
                    </td>
                    <td rowspan="2" class="count br" rowspan="1">
                        <p>456.00</p>
                        <p class="red">实收：0.00</p>
                        <p title=""></p>
                        <p>（免运费）</p>
                        <p class="red"></p>
                    </td>
                    <td rowspan="2" class="status br" rowspan="1">
                        <p>{$text}</p>
                        <a href="{:think\\Url::build('detail')}">订单详情</a>
                    </td>
                    <td rowspan="2" class="operate" rowspan="1">
                        {in name="status" value="1,2"}
                        <span>
                                           <a href="seller.php?m=order&amp;op=delivery&amp;order_id=13201801159492284"><i class="iconfont icon-daifahuo"></i>发货</a>
                                        </span>
                        {/in}
                    </td>
                </tr>
                <tr>
                    <td>
                        <dl class="fn-clear">
                            <dt><a target="_blank" href="index.php?m=goods&amp;s=detail&amp;id=503"><img src="http://www.jiushouguoji.hk/uploadfile/goods/8/2016/07/13/1468398767.jpg_60X60.jpg"></a></dt>
                            <dd><a target="_blank" href="index.php?m=goods&amp;s=detail&amp;id=503">【两罐装】保税区发货 港版美赞臣 Meadjohson 奶粉2段 900g（6-12个月）</a></dd>
                        </dl>
                        <p class="build">生产日期: <span>2017-05-12</span></p>
                    </td>
                    <td>
                        456.00                                            </td>
                    <td>1</td>
                </tr>

                <tr>
                    <td class="toolBar" colspan="1">
                    </td>
                    <td colspan="99">
                        <div class="page">
                            <b>1</b>
                            <a href="?firstRow=10&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">2</a>
                            <a href="?firstRow=20&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">3</a>
                            <a href="?firstRow=30&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">4</a>
                            <a href="?firstRow=40&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">5</a>
                            <a href="?firstRow=50&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">6</a>
                            <a href="?firstRow=60&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">7</a>
                            <a href="?firstRow=70&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">8</a>
                            <a href="?firstRow=80&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">9</a>
                            <a href="?firstRow=90&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">10</a>
                            <a href="?firstRow=210&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">..22</a>
                            <a class="nextPage"
                               href="?firstRow=10&amp;totalRows=217&amp;m=goods&amp;s=online&amp;key=">下一页</a>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
        </form>
    </div>
</div>
{/block}
